//
//  MessageInfo.h
//  MyWeChat
//
//  Created by 蔡欣东 on 15/10/5.
//  Copyright © 2015年 蔡欣东. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "UserInfo.h"


typedef enum:int{
    unknow,
    delay,
    compose
} MessageStatue;

@interface MessageInfo : NSObject
@property(nonatomic,assign)int messageId;
@property(nonatomic,strong)NSString* messageBody;
@property(nonatomic,strong)NSString* messageImageUrl;
@property(nonatomic,assign)MessageStatue messageStatue;
@property(nonatomic,assign)float time;
@property(nonatomic,strong)UserInfo* user ;
@property(nonatomic,strong)UserInfo* target;
-(instancetype)initWithId:(int)messageId andBody:(NSString*)messageBody andTime:(float)time andUser:(UserInfo*) user andImageUrl:(NSString*) imageUrl;
@end
